package wqh.service;

import wqh.domain.DtMonitor;
import wqh.pojo.SelectMonitorCondition;

import java.util.List;
/**
 * Created by cfs on 2016/12/26.
 */
public interface DtMonitorService {
    Integer selectCount();
    List<DtMonitor> findAllRecord();

    DtMonitor findByID(Integer id);

    List<DtMonitor> findByGeoID(Integer geo_id);

    DtMonitor findByIPAndMarkID(SelectMonitorCondition selectMonitorCondition);

    int insertRecord(DtMonitor dtMonitor);

    int updateRecord(DtMonitor dtMonitor);

    int deleteById(Integer id);
}
